package com.kaizeli.website.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kaizeli.website.pojo.entity.ProjectBasicInfoDO;
import com.kaizeli.website.query.ProjectBasicInfoQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 项目基础信息Mapper接口
 */
@Mapper
public interface ProjectBasicInfoMapper extends BaseMapper<ProjectBasicInfoDO> {
    
    /**
     * 分页查询项目基础信息列表
     */
    Page<ProjectBasicInfoDO> pageQuery(Page<ProjectBasicInfoDO> page, @Param("query") ProjectBasicInfoQuery query);
    
    /**
     * 根据项目编号查询项目
     */
    ProjectBasicInfoDO selectByProjectCode(@Param("projectCode") String projectCode);
}

